package com.ikunkun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.ikunkun.dto.EmployeeDTO;
import com.ikunkun.entity.Employee;
import com.ikunkun.enumeration.OperationType;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper

public interface EmployeeMapper extends BaseMapper<Employee> {

    @Select("select * from employee where username = #{username}")
     Employee getByUsername(String username) ;


}
